pp108 : Localizing Email Models

Localizing Email Models

This topic describes the procedure to localize email models.


You can localize email models such that messages are displayed to different users in different languages. For example, you can localize the models to display messages in French for users who have selected French as their preferred language.

  1. From the /Cordys/notification/emailmodels/models of the XML store, open the XML file containing the email model.
  2. Create a copy of the XML file in the same directory.
  3. Open the XML file (copy), make the required changes, and save it
  4. Rename the file by adding locale as the suffix. Example: For a specific locale, the file name has a locale suffix, such as _fr_FR for French in France.


Important:

  • The name of the email model must be the same as the name of the localized email model. For example, if the name of the email model isOrder, the name of the localized model must beOrder_fr_FR.
  • The receiver's browser must support the character-set of the selected locale.


The email model is localized and can be called, by providing thelocalein theLANGUAGEtag of the Deliver Message SOAP request.

If the locale specified in the message does not exist in the XML Store, then the Process Platform default locale setting is taken. The Process Platform default locale is set while installing Process Platform and is found as a property in the wcp.properties file.